package com.ibangnuo.manage.dao.employee;

import com.ibangnuo.framework.domain.CommercialTenant;
import com.ibangnuo.framework.domain.request.commercial.CommercialTenantNewRequest;
import com.ibangnuo.framework.domain.request.employee.SalesmanQueryRequest;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author:ly
 * @Data:2019/12/30 14:31
 * @Verdion:1.0
 */
@Mapper
public interface CommercialMapper {
    CommercialTenant findByUserId(String userID);

    List<Map<String, Object>> findByCommercialAndCommercialDetails(CommercialTenantNewRequest commercialTenantNewRequest);


    List<Map> findByEmployee(SalesmanQueryRequest salesmanQueryRequest);

    int findByEmployeeId(Map<String, String> m);

    List<String> findIdByAgentId(List list);

}
